package com.hc.window.settingView;

import javax.swing.JPanel;
import javax.swing.JProgressBar;

public class DownLoadMapPrograssPanel extends JPanel {
	private static final long serialVersionUID = 1L;
	private JProgressBar progressBar;
	
	public DownLoadMapPrograssPanel() {
		
		progressBar = new JProgressBar();
		add(progressBar);
	}
	
	public void setValue(final int value){
		new Thread(){
			public void run() {
				progressBar.setValue(value);
			};
		}.start();
	}
	
}
